home *** CD-ROM | disk | FTP | other *** search
- /onlyk4{false}ndf
- /ccmyk{dup 5 -1 roll sub 0 max exch}ndf
- /cmyk2gray{
- 4 -1 roll 0.3 mul 4 -1 roll 0.59 mul 4 -1 roll 0.11 mul
- add add add 1 min neg 1 add
- }bdf
- /setcmykcolor{1 exch sub ccmyk ccmyk ccmyk pop setrgbcolor}ndf
- /maxcolor {
- max max max
- } ndf
- /maxspot {
- pop
- } ndf
- /setcmykcoloroverprint{4{dup -1 eq{pop 0}if 4 1 roll}repeat setcmykcolor}ndf
- /findcmykcustomcolor{5 packedarray}ndf
- /setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}ndf
- /setseparationgray{setgray}ndf
- /setoverprint{pop}ndf
- /currentoverprint false ndf
- /cmykbufs2gray{
- 0 1 2 index length 1 sub
- {
- 4 index 1 index get 0.3 mul
- 4 index 2 index get 0.59 mul
- 4 index 3 index get 0.11 mul
- 4 index 4 index get
- add add add cvi 255 min
- 255 exch sub
- 2 index 3 1 roll put
- }for
- 4 1 roll pop pop pop
- }bdf
- /colorimage{
- pop pop
- [
- 5 -1 roll/exec cvx
- 6 -1 roll/exec cvx
- 7 -1 roll/exec cvx
- 8 -1 roll/exec cvx
- /cmykbufs2gray cvx
- ]cvx
- image
- }
- %. version 47.1 on Linotronic of Postscript defines colorimage incorrectly (rgb model only)
- version cvr 47.1 le
- statusdict /product get (Lino) anchorsearch{pop pop true}{pop false}ifelse
- and{userdict begin bdf end}{ndf}ifelse
- fhnumcolors 1 ne {/yt save def} if
- /customcolorimage{
- aload pop
- (_vc_Registration) eq
- {
- pop pop pop pop separationimage
- }
- {
- /ik xdf /iy xdf /im xdf /ic xdf
- ic im iy ik cmyk2gray /xt xdf
- currenttransfer
- {dup 1.0 exch sub xt mul add}concatprocs
- st
- image
- }
- ifelse
- }ndf
- fhnumcolors 1 ne {yt restore} if
- fhnumcolors 3 ne {/yt save def} if
- /customcolorimage{
- aload pop
- (_vc_Registration) eq
- {
- pop pop pop pop separationimage
- }
- {
- /ik xdf /iy xdf /im xdf /ic xdf
- 1.0 dup ic ik add min sub
- 1.0 dup im ik add min sub
- 1.0 dup iy ik add min sub
- /ic xdf /iy xdf /im xdf
- currentcolortransfer
- 4 1 roll
- {dup 1.0 exch sub ic mul add}concatprocs 4 1 roll
- {dup 1.0 exch sub iy mul add}concatprocs 4 1 roll
- {dup 1.0 exch sub im mul add}concatprocs 4 1 roll
- setcolortransfer
- {/dummy xdf dummy}concatprocs{dummy}{dummy}true 3 colorimage
- }
- ifelse
- }ndf
- fhnumcolors 3 ne {yt restore} if
- fhnumcolors 4 ne {/yt save def} if
- /customcolorimage{
- aload pop
- (_vc_Registration) eq
- {
- pop pop pop pop separationimage
- }
- {
- /ik xdf /iy xdf /im xdf /ic xdf
- currentcolortransfer
- {1.0 exch sub ik mul ik sub 1 add}concatprocs 4 1 roll
- {1.0 exch sub iy mul iy sub 1 add}concatprocs 4 1 roll
- {1.0 exch sub im mul im sub 1 add}concatprocs 4 1 roll
- {1.0 exch sub ic mul ic sub 1 add}concatprocs 4 1 roll
- setcolortransfer
- {/dummy xdf dummy}concatprocs{dummy}{dummy}{dummy}
- true 4 colorimage
- }
- ifelse
- }ndf
- fhnumcolors 4 ne {yt restore} if
- /separationimage{image}ndf
- /newcmykcustomcolor{6 packedarray}ndf
- /inkoverprint false ndf
- /setinkoverprint{pop}ndf
- /setspotcolor {
- spots exch get
- dup 4 get (_vc_Registration) eq
- {pop 1 exch sub setseparationgray}
- {0 5 getinterval exch setcustomcolor}
- ifelse
- }ndf
- /currentcolortransfer{currenttransfer dup dup dup}ndf
- /setcolortransfer{st pop pop pop}ndf
- /fas{}ndf
- /sas{}ndf
- /fhsetspreadsize{pop}ndf
- /filler{fill}bdf
- /F{gsave {filler}fp grestore}bdf
- /f{closepath F}bdf
- /S{gsave {stroke}fp grestore}bdf
- /s{closepath S}bdf
- /bc4 [0 0 0 0] def
- /_lfp4 {
- /yt xdf
- /xt xdf
- /ang xdf
- storerect
- /taperfcn xdf
- /k2 xdf /y2 xdf /m2 xdf /c2 xdf
- /k1 xdf /y1 xdf /m1 xdf /c1 xdf
- c1 c2 sub abs
- m1 m2 sub abs
- y1 y2 sub abs
- k1 k2 sub abs
- maxcolor
- calcgraysteps mul abs round
- height abs adjnumsteps
- dup 2 lt {pop 2} if
- 1 sub /numsteps1 xdf
- currentflat mark
- currentflat clipflatness
- /delta top bottom sub numsteps1 1 add div def
- /right right left sub def
- /botsv top delta sub def
- {
- {
- W
- xt yt translate
- ang rotate
- xt neg yt neg translate
- dup setflat
- /bottom botsv def
- 0 1 numsteps1
- {
- numsteps1 div taperfcn /frac xdf
- bc4 0 c2 c1 sub frac mul c1 add put
- bc4 1 m2 m1 sub frac mul m1 add put
- bc4 2 y2 y1 sub frac mul y1 add put
- bc4 3 k2 k1 sub frac mul k1 add put
- bc4 vc
- 1 index setflat
- {
- mark {newpath left bottom right delta rectfill}stopped
- {cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
- {cleartomark exit}ifelse
- }loop
- /bottom bottom delta sub def
- }for
- }
- gsave stopped grestore
- {exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
- {exit}ifelse
- }loop
- cleartomark setflat
- }bdf
- /bcs [0 0] def
- /_lfs4 {
- /yt xdf
- /xt xdf
- /ang xdf
- storerect
- /taperfcn xdf
- /tint2 xdf
- /tint1 xdf
- bcs exch 1 exch put
- tint1 tint2 sub abs
- bcs 1 get maxspot
- calcgraysteps mul abs round
- height abs adjnumsteps
- dup 2 lt {pop 2} if
- 1 sub /numsteps1 xdf
- currentflat mark
- currentflat clipflatness
- /delta top bottom sub numsteps1 1 add div def
- /right right left sub def
- /botsv top delta sub def
- {
- {
- W
- xt yt translate
- ang rotate
- xt neg yt neg translate
- dup setflat
- /bottom botsv def
- 0 1 numsteps1
- {
- numsteps1 div taperfcn /frac xdf
- bcs 0
- 1.0 tint2 tint1 sub frac mul tint1 add sub
- put bcs vc
- 1 index setflat
- {
- mark {newpath left bottom right delta rectfill}stopped
- {cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
- {cleartomark exit}ifelse
- }loop
- /bottom bottom delta sub def
- }for
- }
- gsave stopped grestore
- {exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
- {exit}ifelse
- }loop
- cleartomark setflat
- }bdf
- /_rfs4 {
- /tint2 xdf
- /tint1 xdf
- bcs exch 1 exch put
- /radius xdf
- /yt xdf
- /xt xdf
- tint1 tint2 sub abs
- bcs 1 get maxspot
- calcgraysteps mul abs round
- radius abs adjnumsteps
- dup 2 lt {pop 2} if
- 1 sub /numsteps1 xdf
- radius numsteps1 div 2 div /halfstep xdf
- currentflat mark
- currentflat clipflatness
- {
- {
- dup setflat
- W
- 0 1 numsteps1
- {
- dup /radindex xdf
- numsteps1 div /frac xdf
- bcs 0
- tint2 tint1 sub frac mul tint1 add
- put bcs vc
- 1 index setflat
- {
- newpath mark xt yt radius 1 frac sub mul halfstep add 0 360
- { arc
- radindex numsteps1 ne
- {
- xt yt
- radindex 1 add numsteps1
- div 1 exch sub
- radius mul halfstep add
- dup xt add yt moveto
- 360 0 arcn
- } if
- fill
- }stopped
- {cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
- {cleartomark exit}ifelse
- }loop
- }for
- }
- gsave stopped grestore
- {exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
- {exit}ifelse
- }loop
- cleartomark setflat
- }bdf
- /_rfp4 {
- /k2 xdf /y2 xdf /m2 xdf /c2 xdf
- /k1 xdf /y1 xdf /m1 xdf /c1 xdf
- /radius xdf
- /yt xdf
- /xt xdf
- c1 c2 sub abs
- m1 m2 sub abs
- y1 y2 sub abs
- k1 k2 sub abs
- maxcolor
- calcgraysteps mul abs round
- radius abs adjnumsteps
- dup 2 lt {pop 2} if
- 1 sub /numsteps1 xdf
- radius numsteps1 div 2 div /halfstep xdf
- currentflat mark
- currentflat clipflatness
- {
- {
- dup setflat
- W
- 0 1 numsteps1
- {
- dup /radindex xdf
- numsteps1 div /frac xdf
- bc4 0 c2 c1 sub frac mul c1 add put
- bc4 1 m2 m1 sub frac mul m1 add put
- bc4 2 y2 y1 sub frac mul y1 add put
- bc4 3 k2 k1 sub frac mul k1 add put
- bc4 vc
- 1 index setflat
- {
- newpath mark xt yt radius 1 frac sub mul halfstep add 0 360
- { arc
- radindex numsteps1 ne
- {
- xt yt
- radindex 1 add numsteps1
- div 1 exch sub
- radius mul halfstep add
- dup xt add yt moveto
- 360 0 arcn
- } if
- fill
- }stopped
- {cleartomark exch 1.3 mul dup setflat exch 2 copy gt{stop}if}
- {cleartomark exit}ifelse
- }loop
- }for
- }
- gsave stopped grestore
- {exch pop 2 index exch 1.3 mul dup 100 gt{cleartomark setflat stop}if}
- {exit}ifelse
- }loop
- cleartomark setflat
- }bdf
- /lfp4{_lfp4}ndf
- /lfs4{_lfs4}ndf
- /rfs4{_rfs4}ndf
- /rfp4{_rfp4}ndf
- /ScitexVignette defed /xt xdf
- xt not {/yt save def} if
- /anyeq {
- cvlit exch
- cvlit exch
- 1 index type /arraytype eq
- 2 index type /packedarraytype eq
- or
- 1 index type /arraytype eq
- 2 index type /packedarraytype eq
- or
- and {
- 1 index length
- 1 index length eq {
- dup length 1 sub -1 0 {
- /ind exch def
- 1 index ind get
- 1 index ind get
- anyeq not {/ind -1 def exit} if
- } for
- pop pop
- ind 0
- eq
- }{
- pop pop false
- } ifelse
- }{
- eq
- } ifelse
- } def
-
- /lfp4 where {
- pop
- /oldlfp /lfp4 load def
- /lfp4 {
- /yt xdf
- /xt xdf
- /ang xdf
- storerect
- /taperfcn xdf
- /kc2 xdf
- /yc2 xdf
- /mc2 xdf
- /cc2 xdf
- /kc1 xdf
- /yc1 xdf
- /mc1 xdf
- /cc1 xdf
- save
- 20 dict dup begin
- /VGVersion 0 def
- /typeOfVign 1 def
- /xDimension right left sub abs def
- /yDimension top bottom sub abs def
- /numOfColorPoints 2 def
- /verticalCoord [ top bottom ] def
- /horizontalCoord [ left left ] def
- /colorArray [
- cc1 mc1 yc1 kc1
- cc2 mc2 yc2 kc2
- ] def
- /stepVectorFunction /taperfcn load {logtaper} anyeq {[1]}{[0]}ifelse def
- /smoothVG [0] def
- end
-
- W
-
- xt yt translate ang rotate xt neg yt neg translate
-
- ScitexVignette
-
- exch
-
- restore
-
- not {
- /BeginGradation where {pop BeginGradation} if
- cc1 mc1 yc1 kc1 cc2 mc2 yc2 kc2
- /taperfcn load left bottom right top ang xt yt oldlfp
- /EndGradation where {pop EndGradation} if
- } if
- }bdf
- } if
-
- /lfs4 where {
- pop
- /oldlfs /lfs4 load def
- /lfs4 {
- /yt xdf
- /xt xdf
- /ang xdf
- storerect
- /taperfcn xdf
- /tint2 xdf
- /tint1 xdf
- /spotNum xdf
- save
- 20 dict dup begin
- /VGVersion 0 def
- /typeOfVign 1 def
- /xDimension right left sub abs def
- /yDimension top bottom sub abs def
- /numOfColorPoints 2 def
- /verticalCoord [ top bottom ] def
- /horizontalCoord [ left left ] def
- /colorArray [
- tint2 spots spotNum
- get aload pop pop pop 4{4 index mul 4 1 roll}repeat
- 5 -1 roll pop
- tint1 spots spotNum
- get aload pop pop pop 4{4 index mul 4 1 roll}repeat
- 5 -1 roll pop
- ] def
- /stepVectorFunction /taperfcn load {logtaper} anyeq {[1]}{[0]}ifelse def
- /smoothVG [0] def
- end
-
- W
-
- xt yt translate ang rotate xt neg yt neg translate
-
- ScitexVignette
-
- exch
-
- restore
-
- not {
- /BeginGradation where {pop BeginGradation} if
- spotNum tint1 tint2
- /taperfcn load left bottom right top ang xt yt oldlfs
- /EndGradation where {pop EndGradation} if
- } if
- }bdf
- } if
-
- /rfp4 where {
- pop
- /oldrfp /rfp4 load def
- /rfp4 {
- /kc2 xdf
- /yc2 xdf
- /mc2 xdf
- /cc2 xdf
- /kc1 xdf
- /yc1 xdf
- /mc1 xdf
- /cc1 xdf
- /radius xdf
- /yt xdf
- /xt xdf
-
- save
- 20 dict dup begin
- /VGVersion 0 def
- /typeOfVign 3 def
- /xDimension radius 2 mul def
- /yDimension radius 2 mul def
- /numOfColorPoints 2 def
- /verticalCoord [ yt yt ] def
- /horizontalCoord [ xt dup radius add ] def
- /colorArray [
- cc2 mc2 yc2 kc2
- cc1 mc1 yc1 kc1
- ] def
- /stepVectorFunction [0] def
- /smoothVG [0] def
- end
-
- W
-
- ScitexVignette
-
- exch
-
- restore
-
- not {
- /BeginGradation where {pop BeginGradation} if
- xt yt radius cc1 mc1 yc1 kc1 cc2 mc2 yc2 kc2 oldrfp
- /EndGradation where {pop EndGradation} if
- } if
- } bdf
- } if
-
- /rfs4 where {
- pop
- /oldrfs /rfs4 load def
- /rfs4 {
- /tint2 xdf
- /tint1 xdf
- /spotNum xdf
- /radius xdf
- /yt xdf
- /xt xdf
- save
- 20 dict dup begin
- /VGVersion 0 def
- /typeOfVign 3 def
- /xDimension radius 2 mul def
- /yDimension radius 2 mul def
- /numOfColorPoints 2 def
- /verticalCoord [ yt yt ] def
- /horizontalCoord [ xt dup radius add ] def
- /colorArray [
- tint2 spots spotNum
- get aload pop pop pop 4{4 index mul 4 1 roll}repeat
- 5 -1 roll pop
- tint1 spots spotNum
- get aload pop pop pop 4{4 index mul 4 1 roll}repeat
- 5 -1 roll pop
- ] def
- /stepVectorFunction [0] def
- /smoothVG [0] def
- end
-
- W
-
- ScitexVignette
-
- exch
-
- restore
-
- not {
- /BeginGradation where {pop BeginGradation} if
- xt yt radius spotNum tint1 tint2 oldrfs
- /EndGradation where {pop EndGradation} if
- } if
- } bdf
- } if
- xt not {yt restore} if
- /cvc [0 0 0 1] def
- /vc{
- AltsysDict /cvc 2 index put
- aload length 4 eq
- {setcmykcolor}
- {setspotcolor}
- ifelse
- }bdf
- /origmtx matrix currentmatrix def
- /ImMatrix matrix currentmatrix def